package com.dao.primary.sys;

import com.model.pojo.sys.SysRoleMenu;

import java.util.List;

public interface SysRoleMenuMapper {
    int deleteByPrimaryKey(Long sysRoleMenuId);

    int insert(SysRoleMenu record);

    int insertSelective(SysRoleMenu record);

    SysRoleMenu selectByPrimaryKey(Long sysRoleMenuId,Byte isDelete);

    int updateByPrimaryKeySelective(SysRoleMenu record);

    int updateByPrimaryKey(SysRoleMenu record);

    List<SysRoleMenu> selectList(Byte isDelete);

    void insertListSelective(List<SysRoleMenu> sysRoleMenuList);

    void updateListSelective(List<SysRoleMenu> sysRoleMenuList);

    int has(Long sysRoleMenuId);

    List<SysRoleMenu> selectListByRoleId(Long sysRoleId);

    int deleteBySysRoleId(Long sysRoleId);
}